<include file="Public:header" xmlns="http://www.w3.org/1999/html"/>
<script type="text/javascript" src="__WEBPUBLIC__/Admin/js/ajax-operate.js"></script>
<!--主页面-->
<div id="main-content" class="content">
    <ul class="breadcrumb">
        <li><a href="{:U('Index/main')}">首页</a></li>
        <li class="active"><a href="">场景二维码管理</a></li>
        <li class="active">场景二维码列表</li>
    </ul>

    <div class="page-header page-header1 clearfix">
        <h3>场景二维码管理</h3>
        <ul class="nav nav-tabs">
            <li class="active">
                <a href="{:U('Wechat/codeList')}">场景二维码列表</a>
            </li>
            <li>
                <a href="{:U('Wechat/addCode')}">创建场景二维码</a>
            </li>
        </ul>
    </div>
    <div class="content-box-table content-box-content">
        <form action="#" method="post" class="batch-form">
            <table class="table table-striped table-framed table-hover">
                <thead>
                <tr>
                    <th width="15%">
                        <input class="check-all" type="checkbox" />&nbsp;&nbsp;编号
                    </th>
                    <th width="15%">创建时间</th>
                    <th width="40%">名称</th>
                    <th width="10%">操作</th>
                </tr>
                </thead>
                <tbody class="tbody">
                <if condition="empty($list)">
                    <tr><td colspan="20"><span style="font-size:14px;">暂无数据</span></td></tr>
                </if>
                <volist name="list" id="vo">
                    <tr>
                        <td><input type="checkbox" value="{$vo['c_id']}" name="c_id[]"/>&nbsp;&nbsp;{$vo['c_id']}</td>
                        <td>
                            {$vo['ctime']|date='Y-m-d H:i:s',###}
                        </td>
                        <td>
                            {$vo['string']}
                        </td>

                        <td>
                            <a href="{:U('Wechat/downLoadCode',array('c_id'=>$vo['c_id']))}" title="下载二维码" class="modify">
                                <span class="icon glyphicon glyphicon-qrcode"></span>
                            </a>&nbsp;&nbsp;
                            <a href="{:U('Member/memberList',array('recom_str'=>$vo['string']))}" title="用户统计" class="modify">
                                <span class="icon glyphicon glyphicon-user"></span>
                            </a>
                        </td>
                    </tr>
                </volist>
                </tbody>
                <tfoot>
                    <tr>
                        <td colspan="20">
                            <div class="fr">
                                {$page}
                            </div>
                            <if condition="!empty($page)">
                                <div style="padding:24px 10px;float:right;">
                                    <span style="font-size: 16px">转到第</span>&nbsp;
                                    <input type="tel"  min="1" max="" name="" id="page_num" style="border: 1px solid #ccc;width:50px;height:27px;text-align: center;" value="{:I('get.p')}" placeholder="1"/>&nbsp;
                                    <span style="font-size: 16px">页</span>
                                    <input type="button" id="go" value="Go" style="width: 45px;height:30px;border:0;background-color: #c5c5c5;border-radius:1px;color: #ffffff;cursor: pointer"/>
                                    <input type="hidden" value="{$_SERVER['REQUEST_URI']}"/>
                                    <input type="hidden" id="p" value="{:I('get.p')}"/>
                                </div>
                            </if>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </form>
    </div>
</div>

<script type="text/javascript">
</script>
<include file="Public:footer"/>
